package com.hmys.api.mapper;

import com.hmys.api.model.WebHouseCollection;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebHouseCollectionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebHouseCollection record);

    int insertSelective(WebHouseCollection record);

    WebHouseCollection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebHouseCollection record);

    int updateByPrimaryKey(WebHouseCollection record);

    int selectCountByBean(WebHouseCollection record);

    int deleteByBean(WebHouseCollection record);

    List<Long> selectHouseIdsByUserId(Long userId);
}